import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { PiciComponent } from './pici/pici.component';
import { ModelsComponent } from './models.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    { path: 'models', component: ModelsComponent },
                    {
                        path: 'pici',
                        component: PiciComponent
                    }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class ModelRoutingModule {}
